<!DOCTYPE HTML>
<html>

<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="utf-8">
  
  <title>第 10 页 | DeepThought</title>
  <meta name="google-site-verification" content="Ei6mmDdf-cJwox1RvJOeX8Dc720fqWjZQu-Ww2BjBt4">
  
  <meta name="author" content="积慕">
  
  <meta name="description" content="个人博客知识分享,知识需沉淀,更需分享">
  
  
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

  
  <meta property="og:site_name" content="DeepThought">

  
  <meta property="og:image" content>
  

  <link href="https://pic.zhuliang.ltd/favicon.ico" rel="shortcut icon" type="image/x-icon">
  <link rel="alternate" href="/atom.xml" title="DeepThought" type="application/atom+xml">
  <link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">

  <link rel="stylesheet" href="//at.alicdn.com/t/font_1187293_8fec2ou5fyx.css">

  <!-- <link rel="stylesheet" href="//cdn.bootcss.com/highlight.js/9.6.0/styles/github.min.css"> -->
  <!-- <script src="//cdn.bootcss.com/highlight.js/9.6.0/highlight.min.js"></script> -->
  <script src="/js/highlight.min.js"></script>

  <link rel="stylesheet" href="/css/markdown.css">

  <script src="/js/av-min.3.0.4.js"></script>
  <script src="/js/Valine.min.1.3.6.js"></script>

</head></html>

<body>
  <header id="header" class="inner"><div class="alignleft">
  <h1><a href="/">DeepThought</a></h1>
  <h2><a href="/">知识需沉淀，更需分享</a></h2>
</div>
<nav id="main-nav" class="alignright">
  <ul>
    
      <li><a href="/">首页</a></li>
    
      <li><a href="/about">关于我</a></li>
    
      <li><a href="/atom.xml">订阅RSS</a></li>
    
  </ul>
  <div class="clearfix"></div>
</nav>
<div class="clearfix"></div>
        </header>
  <div id="content" class="inner">
    <div id="main-col" class="alignleft"><div id="wrapper">
  <article class="post">
  
  <div class="post-content">
    <header>
      
        <div class="icon"></div>
      

 
      
  
    <h1 class="title"><a href="/2018/12/frontend/manage-nuget-packages.html">nuget包管理：使用NuGet Package Explorer制作、发布包到nuget服务器以及从nuget服务器删除包的方法</a></h1>
  


      
        <time datetime="2018-12-09T13:27:53.000Z">
          create: 2018-12-09 21:27:53 | update: 2018-12-09 21:27:53
            <span style="float: right;">
    <span class="post-count" id="busuanzi_container_page_pv" style="display: inline;">
        
        <span class="post-count">文章总字数:&nbsp;936&nbsp;字</span>
    <span class="blueSeparate">&nbsp;|&nbsp;</span>
    <span class="post-count">阅读约需:&nbsp;3&nbsp;分钟</span>
    <br>
</span>
</span>
        </time>
      
            
    </header>
    <div class="entry">
      
      <h1 id="制作、发布所用工具：NuGetPackageExplorer"><a href="#制作、发布所用工具：NuGetPackageExplorer" class="headerlink" title="制作、发布所用工具：NuGetPackageExplorer"></a>制作、发布所用工具：NuGetPackageExplorer</h1><blockquote>
<p>项目 git 地址：<a href="https://github.com/NuGetPackageExplorer/NuGetPackageExplorer" target="_blank" rel="noopener"> NuGetPackageExplorer git地址</a><br>uwp app：<a href="https://www.microsoft.com/zh-cn/p/nuget-package-explorer/9wzdncrdmdm3?ocid=badge&amp;rtc=1&amp;activetab=pivot:overviewtab" target="_blank" rel="noopener">商店地址</a><br>本次演示所用版本为：UWP 5.0.9</p>
</blockquote>
<h2 id="制作包"><a href="#制作包" class="headerlink" title="制作包"></a>制作包</h2><p><img src="https://pic.zhuliang.ltd/12e401cb-00f0-49da-bd45-a60298cc0562.png-c" alt></p>
<ul>
<li>在左侧界面中添加包的一些基本信息。</li>
</ul>
      

      <div>
        
      </div>
    </div>

    <footer>
      
      
      <div class="alignleft">
        <a href="/2018/12/frontend/manage-nuget-packages.html#more" class="more-link">Read More</a>
      </div>
      
      
      
      <div class="clearfix"></div>
    </footer>
  </div>
</article>

<!--  --> <!--启用/关闭 LeanCloud 评论-->

  <article class="post">
  
  <div class="post-content">
    <header>
      
        <div class="icon"></div>
      

 
      
  
    <h1 class="title"><a href="/2018/12/frontend/build-nuget-server.html">搭建 nuget 私服</a></h1>
  


      
        <time datetime="2018-12-09T07:23:59.000Z">
          create: 2018-12-09 15:23:59 | update: 2018-12-09 15:23:59
            <span style="float: right;">
    <span class="post-count" id="busuanzi_container_page_pv" style="display: inline;">
        
        <span class="post-count">文章总字数:&nbsp;412&nbsp;字</span>
    <span class="blueSeparate">&nbsp;|&nbsp;</span>
    <span class="post-count">阅读约需:&nbsp;1&nbsp;分钟</span>
    <br>
</span>
</span>
        </time>
      
            
    </header>
    <div class="entry">
      
      <blockquote>
<p>基于 nuget.server 3.1.2 ：<a href="https://www.nuget.org/packages/NuGet.Server" target="_blank" rel="noopener">https://www.nuget.org/packages/NuGet.Server</a></p>
<p>分享搭建过程中的一些注意事项。</p>
</blockquote>
<h1 id="创建一个web空项目用于承载nuget-server"><a href="#创建一个web空项目用于承载nuget-server" class="headerlink" title="创建一个web空项目用于承载nuget.server"></a>创建一个web空项目用于承载nuget.server</h1>
      

      <div>
        
      </div>
    </div>

    <footer>
      
      
      <div class="alignleft">
        <a href="/2018/12/frontend/build-nuget-server.html#more" class="more-link">Read More</a>
      </div>
      
      
      
      <div class="clearfix"></div>
    </footer>
  </div>
</article>

<!--  --> <!--启用/关闭 LeanCloud 评论-->

  <article class="post">
  
  <div class="post-content">
    <header>
      
        <div class="icon"></div>
      

 
      
  
    <h1 class="title"><a href="/2018/11/frontend/hello-react-kede-mobile.html">部门内部培训 react 系列讲义二：使用 React 重写 kede mobile</a></h1>
  


      
        <time datetime="2018-11-16T10:29:23.000Z">
          create: 2018-11-16 18:29:23 | update: 2018-11-16 18:29:23
            <span style="float: right;">
    <span class="post-count" id="busuanzi_container_page_pv" style="display: inline;">
        
        <span class="post-count">文章总字数:&nbsp;7.3k&nbsp;字</span>
    <span class="blueSeparate">&nbsp;|&nbsp;</span>
    <span class="post-count">阅读约需:&nbsp;35&nbsp;分钟</span>
    <br>
</span>
</span>
        </time>
      
            
    </header>
    <div class="entry">
      
      <blockquote>
<ul>
<li>react 官网：<a href="https://reactjs.org/" target="_blank" rel="noopener">https://reactjs.org/</a></li>
<li>此文为公司内部培训用 react 讲义内容，实战部分，用 react 改写原 H5 手机端页面，适合想学习 react，入门 react 的同学阅读，代码请参加 github：<a href="https://github.com/KedeIT/kede.mobile" target="_blank" rel="noopener">https://github.com/KedeIT/kede.mobile</a>
      

      <div>
        
      </div>
    </div>

    <footer>
      
      
      <div class="alignleft">
        <a href="/2018/11/frontend/hello-react-kede-mobile.html#more" class="more-link">Read More</a>
      </div>
      
      
      
      <div class="clearfix"></div>
    </footer>
  </div>
</article>

<!--  --> <!--启用/关闭 LeanCloud 评论-->

  <article class="post">
  
  <div class="post-content">
    <header>
      
        <div class="icon"></div>
      

 
      
  
    <h1 class="title"><a href="/2018/10/frontend/localStorage-cookie-sessionStorage.html">localStorage-cookie-sessionStorage</a></h1>
  


      
        <time datetime="2018-10-19T09:55:10.000Z">
          create: 2018-10-19 17:55:10 | update: 2018-10-19 17:55:10
            <span style="float: right;">
    <span class="post-count" id="busuanzi_container_page_pv" style="display: inline;">
        
        <span class="post-count">文章总字数:&nbsp;375&nbsp;字</span>
    <span class="blueSeparate">&nbsp;|&nbsp;</span>
    <span class="post-count">阅读约需:&nbsp;1&nbsp;分钟</span>
    <br>
</span>
</span>
        </time>
      
            
    </header>
    <div class="entry">
      
      <h1 id="localStorage-与-cookie-："><a href="#localStorage-与-cookie-：" class="headerlink" title="localStorage 与 cookie ："></a>localStorage 与 cookie ：</h1><p>localStorage 中一般浏览器支持的是 5M大小，在不同浏览器中 localStorage 会有所不同。</p>
<ul>
<li>cookie 中每条 cookie 的存储空间为 4K</li>
<li>优点：拓展了 cookie 的 4k 限制， 可以将第一次请求的数据直接存储到本地，但只有在高版本的浏览器中才支持。</li>
</ul>
<h1 id="localStorage-与-sessionStorage-："><a href="#localStorage-与-sessionStorage-：" class="headerlink" title="localStorage 与 sessionStorage ："></a>localStorage 与 sessionStorage ：</h1><ul>
<li>唯一区别就是 localStorage 属于永久性存储，而 sessionStorage 属于当会话结束的时候，sessionStorage 中的键值对就会被清空。</li>
</ul>
<h1 id="使用"><a href="#使用" class="headerlink" title="使用"></a>使用</h1><p>使用前先判断浏览器是否支持 localStorage 这个属性：<br>
      

      <div>
        
      </div>
    </div>

    <footer>
      
      
      <div class="alignleft">
        <a href="/2018/10/frontend/localStorage-cookie-sessionStorage.html#more" class="more-link">Read More</a>
      </div>
      
      
      
      <div class="clearfix"></div>
    </footer>
  </div>
</article>

<!--  --> <!--启用/关闭 LeanCloud 评论-->

  <article class="post">
  
  <div class="post-content">
    <header>
      
        <div class="icon"></div>
      

 
      
  
    <h1 class="title"><a href="/2018/10/frontend/react-16-5-2-lifecycle.html">React 生命周期函数深入浅出</a></h1>
  


      
        <time datetime="2018-10-13T02:01:49.000Z">
          create: 2018-10-13 10:01:49 | update: 2018-10-13 10:01:49
            <span style="float: right;">
    <span class="post-count" id="busuanzi_container_page_pv" style="display: inline;">
        
        <span class="post-count">文章总字数:&nbsp;4.8k&nbsp;字</span>
    <span class="blueSeparate">&nbsp;|&nbsp;</span>
    <span class="post-count">阅读约需:&nbsp;17&nbsp;分钟</span>
    <br>
</span>
</span>
        </time>
      
            
    </header>
    <div class="entry">
      
      <blockquote>
<p>本篇博文基于 React 16.5.2</p>
</blockquote>
<h1 id="吐槽："><a href="#吐槽：" class="headerlink" title="吐槽："></a>吐槽：</h1><p>作为一个后端开发，15 年开始关注大前端发展趋势，于 17 年去线下听了场前端开发会议，那个时候 Vue2.0 刚出没多久，就被那快速构建页面给吸引了。最早重返前端还是大半年前，新项目用vue写了几个功能页面，发现现在写前端是真挺舒服，尤其是对于后端人员来说（排除掉 CSS ），快速入门并上手不是什么问题。</p>
<p>至于为什么最终选择了 react 而非 vue ？是因为当时对 react 和 vue 及 RN 和 weex 做了番调研对比，鉴于 weex 的不给力，及后期 react 和 vue 学习成本差不多，但 react 的社区更为活跃，外加发起者背景，就毅然选择了 react 。（我个人是通一精百的支持者，所以对于 react 的理念（learn once，write anywhere），是很赞成的。而 weex 的理念 (write once，run anywhere) 虽然很吸引人，但时下个人觉得技术并未达到此程度，配置的复杂度及大量的轮子需造，难以满足大型项目的要求。包括目前 JD 推出的 Taro，个人目前持观望态度，等到 react 这块应用到项目之后，再码一波 Taro 实际调研一番）。</p>
<p>接触 React 的时候已经是 React 16.3 ，不禁感慨前端发展至今，越有后端的趋势。前后花了3个多月的时间过了一遍 webpack 4， npm ， react ，在公司内部做了几场培训，发现了其中的一些不协调，但随着版本的迭代，这些不协调也依次在被更正。（看 React 17 的更新内容，原本一些摸棱两可的方法、属性元素命名均会得到改善：）</p>
<h1 id="正文"><a href="#正文" class="headerlink" title="正文"></a>正文</h1><p>本篇博文会对 React 16.5.2 中的常用生命周期函数做一些翻译、讲解说明及发表一些个人的理解和看法，如有错误、歧义之处，还望大家不吝啬指出，互相交流：）</p>
<p>开篇借用官方提供的生命周期函数图：（虽然是 React 16.4 的，但同样适用于 16.5 版本）</p>
      

      <div>
        
      </div>
    </div>

    <footer>
      
      
      <div class="alignleft">
        <a href="/2018/10/frontend/react-16-5-2-lifecycle.html#more" class="more-link">Read More</a>
      </div>
      
      
      
      <div class="clearfix"></div>
    </footer>
  </div>
</article>

<!--  --> <!--启用/关闭 LeanCloud 评论-->

  <article class="post">
  
  <div class="post-content">
    <header>
      
        <div class="icon"></div>
      

 
      
  
    <h1 class="title"><a href="/2018/08/frontend/hello-react.html">部门内部培训 react 系列讲义一：React 入门</a></h1>
  


      
        <time datetime="2018-08-15T04:34:23.000Z">
          create: 2018-08-15 12:34:23 | update: 2018-08-15 21:11:31
            <span style="float: right;">
    <span class="post-count" id="busuanzi_container_page_pv" style="display: inline;">
        
        <span class="post-count">文章总字数:&nbsp;2.7k&nbsp;字</span>
    <span class="blueSeparate">&nbsp;|&nbsp;</span>
    <span class="post-count">阅读约需:&nbsp;13&nbsp;分钟</span>
    <br>
</span>
</span>
        </time>
      
            
    </header>
    <div class="entry">
      
      <h1 id="React-入门，based-on-React-16-4-2"><a href="#React-入门，based-on-React-16-4-2" class="headerlink" title="React 入门，based on React.16.4.2"></a>React 入门，based on React.16.4.2</h1><blockquote>
<ul>
<li>react 官网：<a href="https://reactjs.org/" target="_blank" rel="noopener">https://reactjs.org/</a></li>
<li>此文为公司内部培训用 react 讲义内容，适合想学习 react，入门 react 的同学阅读，代码请参加 github：<a href="https://github.com/KedeIT/2018-8.react-demo" target="_blank" rel="noopener">https://github.com/KedeIT/2018-8.react-demo</a></li>
</ul>
</blockquote>
<p>本次教程基于环境、使用工具以及版本：</p>
<ul>
<li>nodejs：8.11.3</li>
<li>react：16.4.2</li>
<li>npm：6.2.0</li>
<li>SPA（单页应用）</li>
<li>create-react-app：2.0.0</li>
</ul>
      

      <div>
        
      </div>
    </div>

    <footer>
      
      
      <div class="alignleft">
        <a href="/2018/08/frontend/hello-react.html#more" class="more-link">Read More</a>
      </div>
      
      
      
      <div class="clearfix"></div>
    </footer>
  </div>
</article>

<!--  --> <!--启用/关闭 LeanCloud 评论-->


<nav id="pagination">
  
    <a href="/page/9/" class="alignleft prev">上一页</a>
  
  
  <div class="clearfix"></div>
</nav></div></div>
    <aside id="sidebar" class="alignright">
  
<div class="widget tag">
  <h3 class="title"><i class="iconfont icon-category"></i>&nbsp;&nbsp;分类</h3>
  <ul class="entry">
  
    <li><a href="/categories/Obsidian/">Obsidian</a><small>1</small></li>
  
    <li><a href="/categories/PowerUser/">PowerUser</a><small>4</small></li>
  
    <li><a href="/categories/backend/">backend</a><small>57</small></li>
  
    <li><a href="/categories/frontend/">frontend</a><small>9</small></li>
  
    <li><a href="/categories/operations/">operations</a><small>5</small></li>
  
    <li><a href="/categories/提前退休/">提前退休</a><small>2</small></li>
  
  </ul>
</div>


  
<div class="widget tag">
  <h3 class="title"><i class="iconfont icon-new3"></i>&nbsp;&nbsp;最新文章</h3>
  <ul class="entry">
    
      <li>
        <a href="/2024/11/PowerUser/install-docker-in-pve-lxc.html">1. 通过 PVE LXC 搭建 docker 环境</a>
      </li>
    
      <li>
        <a href="/2024/11/Obsidian/obsidian-render-pie-chart.html">2. 2 套用于 obsidian 的生成时间占用饼图脚本示例，基于 templater， charts，echarts+dataview</a>
      </li>
    
      <li>
        <a href="/2024/10/PowerUser/fix-ios18-samba-readonly-issue.html">3. 解决 ios 18（包括ipadOS 18） 下通过文件(files app)连接 samba 服务器，目录变成只读权限的问题</a>
      </li>
    
      <li>
        <a href="/2023/07/operations/how-to-use-pm2.html">4. PM2 的安装、配置和使用</a>
      </li>
    
      <li>
        <a href="/2023/07/backend/expose-intranet-netcoreapi-to-internet.html">5. 通过 DDNS+显性URL 把内网部署的.NET CORE WEBAPI 项目暴露到公网中</a>
      </li>
    
  </ul>
</div>


  
<div class="widget tag">
  <h3 class="title"><i class="iconfont icon-tag"></i>&nbsp;&nbsp;标签</h3>
  <ul class="entry">
  
    <li><a href="/tags/net-core/">.net core</a><small>12</small></li>
  
    <li><a href="/tags/Debian/">Debian</a><small>2</small></li>
  
    <li><a href="/tags/Docker/">Docker</a><small>1</small></li>
  
    <li><a href="/tags/Elasticsearch/">Elasticsearch</a><small>35</small></li>
  
    <li><a href="/tags/Elasticsearch-Nest系列/">Elasticsearch.Nest系列</a><small>35</small></li>
  
    <li><a href="/tags/Obsidian/">Obsidian</a><small>1</small></li>
  
    <li><a href="/tags/PVE/">PVE</a><small>2</small></li>
  
    <li><a href="/tags/StackExchange-Redis系列/">StackExchange.Redis系列</a><small>12</small></li>
  
    <li><a href="/tags/centos/">centos</a><small>3</small></li>
  
    <li><a href="/tags/flex/">flex</a><small>1</small></li>
  
    <li><a href="/tags/ios/">ios</a><small>1</small></li>
  
    <li><a href="/tags/javascript/">javascript</a><small>1</small></li>
  
    <li><a href="/tags/linux/">linux</a><small>4</small></li>
  
    <li><a href="/tags/nginx/">nginx</a><small>2</small></li>
  
    <li><a href="/tags/nuget/">nuget</a><small>2</small></li>
  
    <li><a href="/tags/react/">react</a><small>6</small></li>
  
    <li><a href="/tags/styled-components/">styled-components</a><small>1</small></li>
  
    <li><a href="/tags/内网穿透/">内网穿透</a><small>4</small></li>
  
    <li><a href="/tags/培训讲义/">培训讲义</a><small>2</small></li>
  
    <li><a href="/tags/基础知识/">基础知识</a><small>2</small></li>
  
    <li><a href="/tags/性能优化/">性能优化</a><small>2</small></li>
  
    <li><a href="/tags/教程/">教程</a><small>64</small></li>
  
    <li><a href="/tags/理财/">理财</a><small>2</small></li>
  
    <li><a href="/tags/生命周期/">生命周期</a><small>1</small></li>
  
    <li><a href="/tags/经验/">经验</a><small>4</small></li>
  
  </ul>
</div>


  
  <script type="text/javascript" charset="utf-8" src="/js/tagcloud.js"></script>
  <script type="text/javascript" charset="utf-8" src="/js/tagcanvas.js"></script>
  <div class="widget tag">
    <h3 class="title"><i class="iconfont icon-cloud1"></i>&nbsp;&nbsp;标签云</h3>
    <div id="myCanvasContainer" class="widget tagcloud">
      <canvas width="250" height="250" id="resCanvas" style="width:100%">
        <a href="/tags/net-core/" style="font-size: 17.14px;">.net core</a> <a href="/tags/Debian/" style="font-size: 11.43px;">Debian</a> <a href="/tags/Docker/" style="font-size: 10px;">Docker</a> <a href="/tags/Elasticsearch/" style="font-size: 18.57px;">Elasticsearch</a> <a href="/tags/Elasticsearch-Nest系列/" style="font-size: 18.57px;">Elasticsearch.Nest系列</a> <a href="/tags/Obsidian/" style="font-size: 10px;">Obsidian</a> <a href="/tags/PVE/" style="font-size: 11.43px;">PVE</a> <a href="/tags/StackExchange-Redis系列/" style="font-size: 17.14px;">StackExchange.Redis系列</a> <a href="/tags/centos/" style="font-size: 12.86px;">centos</a> <a href="/tags/flex/" style="font-size: 10px;">flex</a> <a href="/tags/ios/" style="font-size: 10px;">ios</a> <a href="/tags/javascript/" style="font-size: 10px;">javascript</a> <a href="/tags/linux/" style="font-size: 14.29px;">linux</a> <a href="/tags/nginx/" style="font-size: 11.43px;">nginx</a> <a href="/tags/nuget/" style="font-size: 11.43px;">nuget</a> <a href="/tags/react/" style="font-size: 15.71px;">react</a> <a href="/tags/styled-components/" style="font-size: 10px;">styled-components</a> <a href="/tags/内网穿透/" style="font-size: 14.29px;">内网穿透</a> <a href="/tags/培训讲义/" style="font-size: 11.43px;">培训讲义</a> <a href="/tags/基础知识/" style="font-size: 11.43px;">基础知识</a> <a href="/tags/性能优化/" style="font-size: 11.43px;">性能优化</a> <a href="/tags/教程/" style="font-size: 20px;">教程</a> <a href="/tags/理财/" style="font-size: 11.43px;">理财</a> <a href="/tags/生命周期/" style="font-size: 10px;">生命周期</a> <a href="/tags/经验/" style="font-size: 14.29px;">经验</a>
      </canvas>
    </div>
  </div>




</aside>
    <div class="clearfix"></div>
  </div>
  <footer id="footer" class="inner"><div class="alignleft">

  
  &copy; 2018 - 2024 &nbsp;<a href='/about'>积慕</a>
  
  &nbsp;&nbsp;<a href='https://www.cnblogs.com/deepthought/'>我的博客园地址</a>
  &nbsp;&nbsp;finalclassic#outlook.com
</div>

<div class="clearfix"></div>
<div>
  本站主题基于：<a href='https://github.com/hexojs/hexo-theme-light' rel="external nofollow">hexo-theme-light</a>
</div>
<div id="busuanzi_container_site_pv">
  本站总访问量&nbsp;<span id="busuanzi_value_site_pv"></span>&nbsp;次
</div>
<div style="width:300px;margin:0 auto; padding:20px 0;">
  <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31011702004805" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
    <img src="https://pic.zhuliang.ltd/20200102164648.png" style="float:left;"><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">沪公网安备 31011702004805号</p></a>
</div></footer>
  <script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>




<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" media="screen" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
(function($){
  $('.fancybox').fancybox();
})(jQuery);
</script>


<script type="text/javascript">
hljs.initHighlightingOnLoad();
</script>

<!-- <script src="/js/busuanzi.pure.mini.js"></script> -->
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?ea793b9c8d6b31df666a6bc15038e246";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
</body>
</html>
